home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / lib / kshrc.stub < prev    next >
Text File  |  1997-07-22  |  914b  |  31 lines

  1.  
  2. #
  3. # append this file to your .profile to set path according to machine
  4. # type.  you may wish to use this for your own programs (edit the last
  5. # part to point to a different directory f.e. ~/bin/_$PVM_ARCH.
  6. #
  7. if [[ -z $PVM_ROOT ]]; then
  8.     if [[ -d ~/pvm3 ]] then
  9.         export PVM_ROOT=~/pvm3
  10.     else
  11.         print "Warning - PVM_ROOT not defined"
  12.         print "To use PVM, define PVM_ROOT and rerun your .profile"
  13.     fi
  14. fi
  15.  
  16. if [[ -n $PVM_ROOT ]]; then
  17.     export PVM_ARCH=`$PVM_ROOT/lib/pvmgetarch`
  18. #
  19. # uncomment one of the following lines if you want the PVM commands
  20. # directory to be added to your shell path.
  21. #
  22. #       export PATH=$PATH:$PVM_ROOT/lib            # generic
  23. #       export PATH=$PATH:$PVM_ROOT/lib/$PVM_ARCH  # arch-specific
  24. #
  25. # uncomment the following line if you want the PVM executable directory
  26. # to be added to your shell path.
  27. #
  28. #       export PATH=$PATH:$PVM_ROOT/bin/$PVM_ARCH
  29. fi
  30.  
  31.